
from django.urls import path,include

from rest_framework.routers import DefaultRouter
from .views import *
router=DefaultRouter()
router.register('users',UserViewSet,'user')

urlpatterns = [
    path('code/',CodeAPIView.as_view()),
    path('',include(router.urls))
]